﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BCEntity.TMS.Packing.PackingConfigOverwrite
{
    /// <summary>
    /// 包装材料配置重写
    /// </summary>
    public class PackingConfigOverwriteEntity
    {
        /// <summary>
        /// 包装材料配置重写Id
        /// </summary>
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int PackingConfigOverwriteId { get; set; }

        /// <summary>
        /// 包装材料配置Id
        /// </summary>
        public int PackingConfigId { get; set; }

        /// <summary>
        /// 包装材料分类配置Id
        /// </summary>
        public int PackingCategoryConfigId { get; set; }

        /// <summary>
        /// 包装材料标题
        /// </summary>
        public string PackingTitle { get; set; }

        /// <summary>
        /// 材料宽度
        /// </summary>
        public int PackingWidth { get; set; }

        /// <summary>
        /// 材料长度
        /// </summary>
        public int PackingLength { get; set; }

        /// <summary>
        /// 材料高度
        /// </summary>
        public int PackingHeight { get; set; }

        /// <summary>
        /// 尺寸单位
        /// </summary>
        public string DimensionUnit { get; set; }

        /// <summary>
        /// 显示单位
        /// </summary>
        public string ShowUnit { get; set; }

        /// <summary>
        /// 转换单位比例
        /// </summary>
        public int TransformRatio { get; set; }

        /// <summary>
        /// 价格
        /// </summary>
        public decimal Price { get; set; }

        /// <summary>
        /// 已启用
        /// </summary>
        public bool Enabled { get; set; }

        /// <summary>
        /// 省份Code
        /// </summary>
        public string ProvinceCode { get; set; }

        /// <summary>
        /// 市Code
        /// </summary>
        public string CityCode { get; set; }

        /// <summary>
        /// 发货地县区Code
        /// </summary>
        public string CountyCode { get; set; }

        /// <summary>
        /// 代理商Id
        /// </summary>
        public long AgentRecordId { get; set; }

        /// <summary>
        /// 创建人Id
        /// </summary>
        public long CreateAdminId { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string CreateAdminName { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime UpdateTime { get; set; }

        /// <summary>
        /// 修改人Id
        /// </summary>
        public long? EditAdminId { get; set; }

        /// <summary>
        /// 修改人
        /// </summary>
        public string EditAdminName { get; set; }
    }
}
